package com.itheima.order;

import java.util.Scanner;

public class ifThirdDemo2 {
    public static void main(String[] args) {
        //红绿灯

        Scanner sa = new Scanner(System.in);
        System.out.println("请输入红灯值（true/false:）");
        boolean RedLight = sa.nextBoolean();

        Scanner sb = new Scanner(System.in);
        System.out.println("请输入黄灯值（true/false:）");
        boolean YellowLight = sb.nextBoolean();

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入绿灯值（true/false:）");
        boolean GreenLight = sc.nextBoolean();

        if (RedLight){
            System.out.println("Stop!!");
        }else if (YellowLight){
            System.out.println("Slow");
        }else if (GreenLight){
            System.out.println("Let's f**king go,baby!");
        }
    }
}
